;----------------------------------------------------------------------------
; CANON USB Adapter for MS
; CABLKM64 MPD Install INF x64   
;            64bit  XP/Vista/7
;
;                             8/June/2010
; Copyright (C) RATOC Systems,inc. 
;
;;----------------------------------------------------------------------------

[Version]
Signature = "$WINDOWS NT$"
Class=SCSIAdapter
ClassGUID={4D36E97B-E325-11CE-BFC1-08002BE10318}
Provider=%RATOC%
DriverVer=06/08/2010,3.8.0.0
Catalogfile=CANONX64.cat
;LayoutFile=LAYOUT.INF


;------------------------------------------------------------------------------
; Copy Files Section
;------------------------------------------------------------------------------
[CABULK_x64.files]
CABLKM64.SYS

[SourceDisksNames]
1="CANON USB Adapter for MS Installation Disk",,

[SourceDisksFiles]
CABLKM64.sys = 1


[DestinationDirs]
DefaultDestDir  = 12




; ----------------------------------------
; Manufacturer Sections

[Manufacturer]
%RATOC% = CABULKMPD_Inst,NTamd64

[CABULKMPD_Inst.NTamd64]
%CABLKM64.DeviceDesc% = CABLKM64_MPD,CABULK\MPD


; ----------------------------------------
; Driver Install Sections

[CABLKM64_MPD.NT]
CopyFiles = CABULK_x64.files

[CABLKM64_MPD.NT.Services]
Addservice = CABLKM64, 0x00000002, CABLKM64_Service, CABLKM64_EventLog_Inst

[CABLKM64_Service]
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_BOOT_START%
ErrorControl   = %SERVICE_ERROR_NORMAL%
ServiceBinary  = %12%\CABLKM64.sys
LoadOrderGroup = SCSI Miniport
AddReg         = pnpsafe_scsi_addreg
AddReg         = Param_addreg_x64

;*************************************************************
;These addreg sections should be used when installins services to indicate
;which interface types are safe for PNP and which aren't.  INTERFACE_TYPE
;is defined in NTDDK.H
[pnpsafe_scsi_addreg]
HKR,  "Parameters\PnpInterface", "1", %REG_DWORD%, 0x00000011
;HKR, "Parameters\PnpInterface", "8", %REG_DWORD%, 0x00000001
;HKR, "Parameters\PnpInterface", "5", %REG_DWORD%, 0x00000001
HKR, "Parameters\PnpInterface", "15", %REG_DWORD%, 0x00000001
;HKR, "Parameters\PnpInterface", "f", %REG_DWORD%, 0x00000001

[Param_addreg_x64]
HKR, "Parameters\Device", "DriverParameter", %REG_SZ%, "/DEBUGLEVEL=0"

;*************************************************************
;The EventLog entries are the same for all SCSI miniports.
[CABLKM64_EventLog_Inst]
AddReg = CABLKM64_EventLog_AddReg

[CABLKM64_EventLog_AddReg]
HKR,,EventMessageFile,%REG_EXPAND_SZ%,"%%SystemRoot%%\System32\IoLogMsg.dll";%SystemRoot%\System32\drivers\CABLKM64.sys"
HKR,,TypesSupported,%REG_DWORD%,7



[Strings]
RATOC = "Canon Electronics Inc."
CABLKM64.DeviceDesc = "CANON USB Adapter for MS x64"


;*******************************************
;Handy macro substitutions (non-localizable)
SPSVCINST_ASSOCSERVICE = 0x00000002
SERVICE_KERNEL_DRIVER  = 1
SERVICE_BOOT_START     = 0
SERVICE_DEMAND_START   = 3
SERVICE_ERROR_NORMAL   = 1
REG_EXPAND_SZ          = 0x00020000
REG_DWORD              = 0x00010001
REG_SZ                 = 0x00000000

